package hibernate;

public class Employee {
	private int id;
	private String fN;
	private String lN;
	private int salary;
	private Department department;

	public Employee() {
	}
	
	public Employee(String fN, String lN, int salary, Department dep){
		this.fN = fN;
		this.lN = lN;
		this.salary = salary;
		this.department = dep;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getfN() {
		return fN;
	}

	public void setfN(String fN) {
		this.fN = fN;
	}

	public String getlN() {
		return lN;
	}

	public void setlN(String lN) {
		this.lN = lN;
	}

	public int getSalary() {
		return salary;
	}

	public void setSalary(int salary) {
		this.salary = salary;
	}

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}
	
	
}
